package com.reborn.mall.api.model.vo;

import com.reborn.mall.api.model.entity.Order;
import com.reborn.mall.api.model.entity.OrderItem;
import com.reborn.mall.api.model.entity.OrderOperateHistory;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 订单视图对象
 *
 * @author Reborn
 * @since 2020/3/26
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class OrderVO extends Order {
    List<OrderItem> orderItems;
    List<OrderOperateHistory> operations;
}
